<template>
    <div class="GoodsList">
        <GoodsListItem v-for="(item,index) in goodsList" :key="index" :goodsItem='item'></GoodsListItem>
    </div>
</template>

<script>
import GoodsListItem from './GoodsListItem'
export default {
    components: {
        GoodsListItem
    },
    data () {
        return {
            
        }
    },
    props:{
        goodsList:{
            type:Array
        }
    }
};
</script>

<style lang="less" scoped>
.GoodsList{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 2px;
}

</style>

